<template>
  <Modal id="information-replay"
         v-model="visible"
         width="800px"
         okText="回复">
    <p>回复内容：</p>
    <p>Content of dialog</p>
    <editor class="editor"
            ref="editor"
            :value="content"
            @on-change="handleChange" />
  </Modal>
</template>
<script>
import Editor from '_c/editor'
export default {
  data () {
    return {
      visible: false,
      content: ''
    }
  },
  methods: {
    init (id) {
      this.visible = true
      this.$nextTick(() => {
        this.$refs.editor.setHtml('' + id)
      })
    },
    handleChange (html, text) {
    }
  },
  components: {
    Editor
  }
}
</script>


